package homework.four_one;

class Intsort
{
    public String sort(int a,int b)
    {
        if(a>b)
            return a +" "+b;
        else 
            return b+" "+a;
    }
    public String sort(int a,int b,int c)
    {
        int swap;
        if(a<b) {swap=a;a=b;b=swap;}
        if(a<c) {swap=a;a=c;c=swap;}
        if(b<c) {swap=b;b=c;c=swap;}
        return a+" "+b+" "+c;
    }
}

public class M2 {
    public static void main(String args[])
    {
        Intsort ob=new Intsort();
        System.out.println(ob.sort(0,25));
        System.out.println( ob.sort(0,25,17));
    }   
}
